#ifndef CSTATE_H
#define CSTATE_H
#include<QString>
#include<Util/cevent.h>
class CState
{
public:

    CState();
    CState(QString stateName,QString stateType,QString description);
    void setStateName(QString stateName);
    void setStateType(QString stateType);
    void setStateDescription(QString description);
    QString getStateName();
    QString getStateType();
    QString getStateDescription();
    bool addEvent(CEvent *event);
    CEvent * getEvent(int index);
    int getCount();
    int getResEventCount();
    int getNoResEventCount();
private:
    QString StateName;
    QString StateType;
    QString StateDescription;
    QList<CEvent *> *Events;
    int ResEventCount;
    int NoResEventCount;



};


#endif // CSTATE_H
